(function() {"use strict";var __module = CC_EDITOR ? module : {exports:{}};var __filename = 'preview-scripts/assets/Script/util/Util.js';var __require = CC_EDITOR ? function (request) {return cc.require(request, require);} : function (request) {return cc.require(request, __filename);};function __define (exports, require, module) {"use strict";
cc._RF.push(module, '0f151PisGVJAKNTI3GsmFYp', 'Util', __filename);
// Script/util/Util.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var _ = {
  arrIntersect: function arrIntersect(arr1, arr2) {
    var intersectArr = [];
    for (var i = 0; i < arr1.length; i++) {
      for (var j = 0; j < arr2.length; j++) {
        if (arr2[j] == arr1[i]) {
          intersectArr.push(arr2[j]);
        }
      }
    }
    return intersectArr;
  },

  checkArrIsEqual: function checkArrIsEqual(arr1, arr2) {
    for (var i = 0; i < arr1.length; i++) {
      if (arr2[i] != arr1[i]) {
        return false;
      }
    }
    return true;
  }
};

exports.default = _;
module.exports = exports["default"];

cc._RF.pop();
        }
        if (CC_EDITOR) {
            __define(__module.exports, __require, __module);
        }
        else {
            cc.registerModuleFunc(__filename, function () {
                __define(__module.exports, __require, __module);
            });
        }
        })();
        //# sourceMappingURL=Util.js.map
        